package com.yjps.house.entity;


import com.yjps.house.model.House;
import com.yjps.system.model.Agent;
import com.yjps.system.model.User;

import java.util.List;

public class AgentForQuery {

    private User user;
    private Agent agent;
    private List<House> rentHouseList;
    private List<House> sellHouseList;

    public AgentForQuery(User user) {
        this.user = user;
    }

    public AgentForQuery(User user, List<House> rentHouseList, List<House> sellHouseList, Agent agent) {
        this.user = user;
        this.rentHouseList = rentHouseList;
        this.sellHouseList = sellHouseList;
        this.agent = agent;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Agent getAgent() {
        return agent;
    }

    public void setAgent(Agent agent) {
        this.agent = agent;
    }

    public List<House> getSellHouseList() {
        return sellHouseList;
    }

    public void setSellHouseList(List<House> sellHouseList) {
        this.sellHouseList = sellHouseList;
    }

    public List<House> getRentHouseList() {
        return rentHouseList;
    }

    public void setRentHouseList(List<House> rentHouseList) {
        this.rentHouseList = rentHouseList;
    }
}
